package com.qi.service.impl;

import com.qi.mapper.BootMapper;
import com.qi.pojo.Student;
import com.qi.service.BootService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

/**
 * @author 姚炜琦
 * @Classname BootServiceImpl
 * @Description TODO
 * @Date 2022/12/1 12:57
 */
@Service
public class BootServiceImpl implements BootService {
    @Autowired
    private BootMapper bootMapper;

    @Override
    public ArrayList<Student> selectStu(String name) {
        return bootMapper.selectStu(name);
    }

    @Override
    public ArrayList<Student> selectAll() {
        return bootMapper.selectAll();
    }
}
